package com.edu.bean;

/**
 * @Author:何包蛋
 * @Date :2022/11/1 - 11 - 01 - 9:17
 */
public class Book {

    private int bookId;

    private String bookName;

    private int getBookId() {
        return bookId;
    }

    private void setBookId(int bookId) {
        this.bookId = bookId;
    }

    private String getBookName() {
        return bookName;
    }

    private void setBookName(String bookName) {
        this.bookName = bookName;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                '}';
    }

    private Book(int bookId, String bookName) {
        this.bookId = bookId;
        this.bookName = bookName;
    }

    private Book() {
    }
}
